WPP:RegisterAction("DAMAGE", "Damage", "Hurt peoples stuff.");

WPP:SetWorldAcess(WPP_DAMAGE, true)

hook.Add("EntityTakeDamage","WPP-EntityTakeDamage",function(Entity,Inflictor,Attacker,Ammount,Info)
	if ( GetConVarNumber("wpp_stop_damage") >= 1 ) and ( Inflictor ) and ( Inflictor:IsPlayer() ) then
		if ( !WPP:IsValid(Entity) ) then
			return;
		end
	
		if ( !WPP:ValidateAction(WPP_DAMAGE,Entity,Inflictor) ) then
			return true;
		end
	end
end)





